# -*- coding: utf-8 -*-
from django.template.defaulttags import url
from django.urls import path
from django.views.decorators.cache import cache_page

from app_module.views.class_view import ClassView

urlpatterns = [
    # path('v1/get/json', function_view.get_json, ),
    # path('v1/get/file', function_view.get_file, ),
    #
    # path('v1/post/json', function_view.post_json, ),
    # path('v1/post/form', function_view.post_form, ),
    #
    # url(r'^v2/class$', class_view.ViewClass.as_view(), ),
    # url(r'^v2/class$', ClassView.as_view(), ),
    #
    # path('v1/exempt', csrf_view.def_exempt, ),
    # url(r'^v2/exempt$', csrf_view.ExemptView.as_view(), ),
    #
    # path('v1/cache0', function_view.cache0, ),
    # path('v1/cache1', function_view.cache1, ),
    # path('v1/cache2', cache_page(60)(function_view.cache2), ),
    #
    # path('v1/check_login', user_view.check_login, ),
    # url(r'^user/login$', user_view.LoginView.as_view(), ),
    # url(r'^user/logout$', user_view.LogoutView.as_view(), ),

]
